
#ifndef COOPERATORAO_STUB_4_WEB_H
#define COOPERATORAO_STUB_4_WEB_H

#include <string>
#include "c2cent/base/basestub4web.h"
#include "app_platform/cntl_info.h"
#include "intf_cooperatorao.h"

namespace b2b2c
{
namespace cooperator
{
namespace ao
{
	#define COOPERATORAO_STUB4WEB_VERSION "B2B2C_COOPERATOR_AO___COOPERATORAO__STUB4WEB_VERSION__1.0 "__DATE__" "__TIME__
    const std::string COOPERATORAO_STUB4WEB_NOUSE = COOPERATORAO_STUB4WEB_VERSION;
	
	class CCooperatorAoStub4Web : public c2cent::CBaseStub4Web, public ICooperatorAo	{
	public:
		uint32_t CheckCooperatorPassWd(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				uint64_t cooperatorId,
				const std::string& cooperatorPassword,
				const std::string& inReserve,
				std::string& errmsg,
				std::string& outReserve
	    );
		uint32_t DeleteCooperatorMonitorModel(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				uint32_t cooperatorId,
				uint32_t modelId,
				const std::string& inReserve,
				std::string& errmsg,
				std::string& outReserve
	    );
		uint32_t GetCooperatorBaseInfo(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				uint64_t cooperatorId,
				const std::string& inReserve,
				std::string& errmsg,
				b2b2c::cooperator::po::CCooperatorBaseInfoPo& cooperatorBaseInfoPo,
				std::string& outReserve
	    );
		uint32_t GetCooperatorBaseInfoList(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				const std::set<uint64_t >& cooperatorId,
				const std::string& inReserve,
				std::string& errmsg,
				std::vector<b2b2c::cooperator::po::CCooperatorBaseInfoPo >& cooperatorBaseInfoPo,
				std::string& outReserve
	    );
		uint32_t GetCooperatorIdByIcsonId(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				uint64_t icsonId,
				const std::string& inReserve,
				std::string& errmsg,
				uint64_t& cooperatorId,
				std::string& outReserve
	    );
		uint32_t GetCooperatorKey(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				uint64_t cooperatorId,
				const std::string& inReserve,
				std::string& errmsg,
				std::string& sCooperatorKey,
				std::string& outReserve
	    );
		uint32_t GetCooperatorLicense(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				uint64_t cooperatorId,
				const std::set<uint8_t >& licenseType,
				const std::string& inReserve,
				std::string& errmsg,
				std::vector<b2b2c::cooperator::po::CCooperatorLicensePo >& cooperatorLicensePo,
				std::string& outReserve
	    );
		uint32_t GetCooperatorMonitorModel(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				uint32_t cooperatorId,
				uint32_t modelId,
				const std::string& inReserve,
				std::string& errmsg,
				b2b2c::cooperator::po::CCooperatorMonitorModelPo& CooperatorMonitorModelPo,
				std::string& outReserve
	    );
		uint32_t GetCooperatorMonitorModelList(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				uint32_t cooperatorId,
				const std::string& inReserve,
				std::string& errmsg,
				std::vector<b2b2c::cooperator::po::CCooperatorMonitorModelPo >& CooperatorMonitorModelPo,
				std::string& rulesruleJson,
				std::string& outReserve
	    );
		uint32_t LogisticsSetCooperatorPro(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				uint64_t option,
				const b2b2c::cooperator::po::CCooperatorProPo& cooperatorProPo,
				const std::string& inReserve,
				std::string& errmsg,
				b2b2c::cooperator::po::CCooperatorBaseInfoPo& cooperatorBaseInfoPo,
				std::string& outReserve
	    );
		uint32_t SetCooperatorInfo(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				uint64_t option,
				const b2b2c::cooperator::po::CCooperatorSetPo& cooperatorSetPo,
				const std::string& inReserve,
				std::string& errmsg,
				b2b2c::cooperator::po::CCooperatorBaseInfoPo& cooperatorBaseInfoPo,
				std::string& outReserve
	    );
		uint32_t SetCooperatorPassWd(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				uint64_t cooperatorId,
				const std::string& cooperatorOldPassword,
				const std::string& cooperatorNewPassword,
				const std::string& inReserve,
				std::string& errmsg,
				std::string& outReserve
	    );
		uint32_t UpdateCooperatorBaseInfo(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				const b2b2c::cooperator::po::CCooperatorBaseInfoPo& cooperatorBaseInfoPo,
				const std::string& inReserve,
				std::string& errmsg,
				std::string& outReserve
	    );
		uint32_t UpdateCooperatorLicense(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				const b2b2c::cooperator::po::CCooperatorLicensePo& cooperatorLicensePo,
				const std::string& inReserve,
				std::string& errmsg,
				std::string& outReserve
	    );
		uint32_t UpdateCooperatorMonitorModel(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				const b2b2c::cooperator::po::CCooperatorMonitorModelPo& CooperatorMonitorModelPo,
				const std::string& inReserve,
				std::string& errmsg,
				std::string& outReserve
	    );
	};

}
}
}
 
#endif /* COOPERATORAO_STUB_4_WEB_H */
